package com.ailargemodel.pojo;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
* 存储学生的问题,以及AI的回答
* @TableName questtion
*/
@Data
@Builder
@AllArgsConstructor
@TableName("questtion")
public class Questtion implements Serializable {

    /**
    * 
    */
    @TableId
    private Integer id;
    /**
    * 
    */
    @TableField
    private String studyId;
    /**
    * 
    */
    @TableField
    private Integer questionId;
    /**
    * 
    */
    @TableField
    private String question;
    /**
    * 
    */
    @TableField
    private String answer;
    /**
     *
     */
    @TableField
    private Integer fuctionNumber;
    /**
     *
     */
    @TableField
    private Integer grade;
    /**
    * 
    */
    @TableField
    private Date questionTime;

    @TableField
    private Integer conversationId;

    public Questtion(){}

    public Questtion(String studyId, Integer questionId, String question, String answer, Integer fuctionNumber, Date questionTime, Integer conversationId,Integer grade) {
        this.studyId = studyId;
        this.questionId = questionId;
        this.question = question;
        this.answer = answer;
        this.fuctionNumber = fuctionNumber;
        this.questionTime = questionTime;
        this.conversationId = conversationId;
        this.grade = grade;
    }
}
